package com.zatech.cgnci.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zatech.cgnci.project.dto.CgnciClaimReserveQueryDTO;
import com.zatech.cgnci.project.entity.CgnciClaimReserveDO;
import com.zatech.cgnci.project.vo.CgnciClaimReservePageVO;
import com.zatech.cgnci.project.vo.CgnciClaimReserveVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 准备金记录表 Mapper 接口
 * </p>
 *
 * @author Generator
 * @since 2024-12-23
 */
@Mapper
public interface CgnciClaimReserveMapper extends BaseMapper<CgnciClaimReserveDO> {

    /**
     * 分页查询
     */
    IPage<CgnciClaimReservePageVO> pageClaimReserve(@Param("page") Page page, @Param("dto") CgnciClaimReserveQueryDTO queryDTO);

    /**
     * 获取准备金详情
     */
    CgnciClaimReserveVO getDetail(@Param("caseNo") String caseNo,@Param("isSendBack")String isSendBack);

    /**
     * 获取准备金详情
     */
    void del(@Param("caseId") Long caseId);

    void updateTaskNo(@Param("caseNo") String caseNo);
}
